From 23ca489988951823e8a21bb12ca73aac80cb9ba1 Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Fri, 19 May 2017 17:37:08 -0400 Subject: [PATCH] Fixup previous commit * which-key.el (which-key--compute-binding): Need to copy name of remapped command Fixes #170 --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index fcb75cbd07b..8f1b038292f 100644 --- a/which-key.el +++ b/which-key.el @@ -1519,7 +1519,7 @@ Requires `which-key-compute-remaps' to be non-nil" (let (remap) (if (and which-key-compute-remaps (setq remap (command-remapping (intern binding)))) - (symbol-name remap) + (copy-sequence (symbol-name remap)) binding))) (defun which-key--get-current-bindings () -- 2.30.2